package com.quasar.hpatient.onInterface;

import com.quasar.hpatient.model.httpmodel.AnotherResult;
import com.quasar.hpatient.model.httpmodel.DataStateResult;
import com.quasar.hpatient.model.medicalmodel.CaseinformationData;

/**
 * author : 许建宏
 * Date: 2017/12/13 0013
 * View:病例
 */

public interface OnCaseHistoryListener {

    //病例列表信息
    void onListSuccess(AnotherResult<CaseinformationData> data);
    //提交病例信息
    void onSubmitSuccess(DataStateResult data);
    //失败回调
    void onError(String msg);
    //界面更新
    void onRefreshUI();
    //删除病例信息
    void onDeleteCase(DataStateResult dataStateResult);
    //修改病例信息
    void onUpdateCase(DataStateResult dataStateResult);
}
